package com.lovo.dimao.entity.joe;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value = "报价明细",description = "")
@TableName("csc_submit_detail")
@Data
public class SubmitDetailBean implements Serializable,Cloneable {
    /**
     * 报价明细id
     */
    @ApiModelProperty(name = "报价明细id", notes = "")
    @TableId("pk_submit_d_id")
    private Long submitDId;
    /**
     * 商品序列号
     */
    @ApiModelProperty(name = "商品序列号", notes = "")
    private String goodsIndex;
    /**
     * 商品名称
     */
    @ApiModelProperty(name = "商品名称", notes = "")
    private String goodsName;
    /**
     * 商品数量
     */
    @ApiModelProperty(name = "商品数量", notes = "")
    private Integer goodsAmount;
    /**
     * 报价id
     */
    @ApiModelProperty(name = "报价id", notes = "")
    @TableField("fk_submit_id")
    private Long submitId;
    /**
     * 商品报价
     */
    @ApiModelProperty(name = "商品报价", notes = "")
    private Integer goodsPrice;

    @Override
    public SubmitDetailBean clone() {
        try {
            SubmitDetailBean clone = (SubmitDetailBean) super.clone();

            return clone;
        } catch (CloneNotSupportedException e) {
            throw new AssertionError();
        }
    }
}
